﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using fmtx.Framework.Attribute;
using fmtx.Framework.Model;
using System.ComponentModel.DataAnnotations;
using MongoDB.Bson.Serialization.Attributes;

namespace com.fmtx.Model
{
    public class UserInfo : BaseBean
    {
        [BsonId]
        [Identity(1000,1)]
        public int Uid { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string Header { get; set; }
        /// <summary>
        /// 文章数
        /// </summary>
        public int ArticleCount { get; set; }
        /// <summary>
        /// 图片数
        /// </summary>
        public int PictureCount { get; set; }
        /// <summary>
        /// email
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// qq
        /// </summary>
        public string QQ { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string Mobile { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int Sex { get; set; }
        /// <summary>
        /// 生日
        /// </summary>
        public string Birthday { get; set; }
        /// <summary>
        /// 是否系统人物
        /// </summary>
        public bool IsSystem { get; set; }
    }
}
